/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.discount.comment.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("yy_discount_item")
public class DiscountItem implements Serializable {
    private static final long serialVersionUID = -35634815438365118L;
    /**
     * 满减满折优惠项id
     */
    @TableId

    private Long discountItemId;

    /**
     * 满减满折优惠id
     */

    private Long discountId;

    /**
     * 所需需要金额
     */

    private Double needAmount;

    /**
     * 优惠（元/折）
     */
    private Double discount;

}
